package immutablecollections.exceptions;

/**
 * Thrown when various types of internal errors are detected.
 */
@SuppressWarnings("serial")
public class InvalidStateException extends RuntimeException
{
    public InvalidStateException(final String message)
    {
        super(message);
    }

    public InvalidStateException(final String message, final Exception cause)
    {
        super(message, cause);
    }
}
